package com.second.app.thread.notifydemo;

/**
 * @Author soul gao
 * @Date 2021/1/24 12:07
 * 努力学习 天天进步
 */
public class ThreadA  extends  Thread{

    private Object lock;

    public ThreadA(Object lock){

        this.lock =lock;
    }

    @Override
    public void run() {
        Service service = new Service();
        service.testMethod(lock);
    }
}
